package com.huaxin.common.Entity;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * @author lwjing
 * @date 2018/5/10
 * @Desc $desc$  第一层
 * Copyright HUAXIN DATA. All rights reserved.
 */
public class StationColumnFirst extends AbstractExpandableItem<StationColumnSecond> implements MultiItemEntity {
    public static final int ColumnStationFirst = 0;
    public static final int ColumnStation      = 10;
    public static final int ColumnStationEnd   = 20;

    List<StationColumnSecond> children;
    String                    id;//a_o_5236
    Object                    state;
    String                    text;//首创股份有限公司
    String                    type;//originIcon



    public List<StationColumnSecond> getChildren() {
        return children;
    }

    public String getId() {
        return id;
    }

    public Object getState() {
        return state;
    }

    public String getText() {
        return text;
    }

    public String getType() {
        return type;
    }

    @Override
    public int getLevel() {
        return 0;
    }

    @Override
    public String toString() {
        return "StationColumnFirst{" +
                "children=" + children +
                ", id='" + id + '\'' +
                ", state=" + state +
                ", text='" + text + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    @Override
    public int getItemType() {
        //第一层布局
        return ColumnStationFirst;
    }
}
